//
//  DDCloudInfo.m
//  PrivateCloud
//
//  Created by sarah doo on 13-9-26.
//  Copyright (c) 2013年 sarah doo. All rights reserved.
//

#import "DDCloudInfo.h"

@implementation DDCloudInfo

@synthesize cloudId, cloudName, adderss;

- (void)dealloc {
    self.cloudName = nil;
    self.cloudId = nil;
    self.adderss = nil;
    [super dealloc];
}

- (BOOL)isEqual:(id)object{
    DDCloudInfo* info = (DDCloudInfo*)object;
    if ([self.cloudName isEqualToString:[info cloudName]] && [self.cloudId isEqualToString:[info cloudId]] && [self.adderss isEqualToString:[info adderss]]) {
        return YES;
    }
    return NO;
}
@end
